<template>
  <wd-config-provider>
    <slot />
    <CommonTabbar v-if="props.tabbar" />
  </wd-config-provider>
</template>

<script setup lang="ts">
  import CommonTabbar from '@/components/Tabbar/index.vue';

  const props = defineProps({
    tabbar: {
      type: Boolean,
      default: false,
    },
  });
</script>

<style scoped></style>
